<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: SkyEngine2d::ActionManager类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">1.0.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>SkyEngine2d</b></li><li class="navelem"><a class="el" href="class_sky_engine2d_1_1_action_manager.html">ActionManager</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_sky_engine2d_1_1_action_manager-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SkyEngine2d::ActionManager类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>动作管理器  
 <a href="class_sky_engine2d_1_1_action_manager.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_action_manager_8h_source.html">ActionManager.h</a>&gt;</code></p>
<div class="dynheader">
类 SkyEngine2d::ActionManager 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_sky_engine2d_1_1_action_manager.png" usemap="#SkyEngine2d::ActionManager_map" alt=""/>
  <map id="SkyEngine2d::ActionManager_map" name="SkyEngine2d::ActionManager_map">
<area href="class_sky_engine2d_1_1_singleton.html" alt="SkyEngine2d::Singleton&lt; ActionManager, false &gt;" shape="rect" coords="0,56,291,80"/>
<area href="class_sky_engine2d_1_1_non_copyable.html" title="不可拷贝对象的基类" alt="SkyEngine2d::NonCopyable" shape="rect" coords="0,0,291,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:afca9999f0784586a6c21c8d290e7988e"><td class="memItemLeft" align="right" valign="top"><a id="afca9999f0784586a6c21c8d290e7988e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#afca9999f0784586a6c21c8d290e7988e">~ActionManager</a> ()</td></tr>
<tr class="memdesc:afca9999f0784586a6c21c8d290e7988e"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:afca9999f0784586a6c21c8d290e7988e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c08c2545bbd239fb34979b96d425c14"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#a0c08c2545bbd239fb34979b96d425c14">addAction</a> (ActionSharedPtr action, <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target, bool suspend=false)</td></tr>
<tr class="memdesc:a0c08c2545bbd239fb34979b96d425c14"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加一个动画  <a href="#a0c08c2545bbd239fb34979b96d425c14">更多...</a><br /></td></tr>
<tr class="separator:a0c08c2545bbd239fb34979b96d425c14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57c08346ff5b0b993c378d445247cdd0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#a57c08346ff5b0b993c378d445247cdd0">suspendActionOfTarget</a> (const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target)</td></tr>
<tr class="memdesc:a57c08346ff5b0b993c378d445247cdd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">挂起某个执行目标  <a href="#a57c08346ff5b0b993c378d445247cdd0">更多...</a><br /></td></tr>
<tr class="separator:a57c08346ff5b0b993c378d445247cdd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cca5821d0932c3164ef805a410ebea0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#a8cca5821d0932c3164ef805a410ebea0">resumeActionOfTarget</a> (const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target)</td></tr>
<tr class="memdesc:a8cca5821d0932c3164ef805a410ebea0"><td class="mdescLeft">&#160;</td><td class="mdescRight">恢复某个执行目标  <a href="#a8cca5821d0932c3164ef805a410ebea0">更多...</a><br /></td></tr>
<tr class="separator:a8cca5821d0932c3164ef805a410ebea0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a454e98108f6135365df2af9714f9ab3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#a454e98108f6135365df2af9714f9ab3a">suspendAction</a> (const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target, const std::wstring &amp;name)</td></tr>
<tr class="memdesc:a454e98108f6135365df2af9714f9ab3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">挂起某个动画  <a href="#a454e98108f6135365df2af9714f9ab3a">更多...</a><br /></td></tr>
<tr class="separator:a454e98108f6135365df2af9714f9ab3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dedac00b9b1e95e56bf1f74e435c1b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#a1dedac00b9b1e95e56bf1f74e435c1b6">resumeAction</a> (const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target, const std::wstring &amp;name)</td></tr>
<tr class="memdesc:a1dedac00b9b1e95e56bf1f74e435c1b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">恢复某个动画  <a href="#a1dedac00b9b1e95e56bf1f74e435c1b6">更多...</a><br /></td></tr>
<tr class="separator:a1dedac00b9b1e95e56bf1f74e435c1b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a563d254e931fa37b201573b53fc4cde8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#a563d254e931fa37b201573b53fc4cde8">removeAllActions</a> ()</td></tr>
<tr class="memdesc:a563d254e931fa37b201573b53fc4cde8"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除所有动画  <a href="#a563d254e931fa37b201573b53fc4cde8">更多...</a><br /></td></tr>
<tr class="separator:a563d254e931fa37b201573b53fc4cde8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab60d2f96b143ec889c48446ab1ad1b15"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#ab60d2f96b143ec889c48446ab1ad1b15">removeAllActionsOfTarget</a> (const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target)</td></tr>
<tr class="memdesc:ab60d2f96b143ec889c48446ab1ad1b15"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除该执行目标的所有动画  <a href="#ab60d2f96b143ec889c48446ab1ad1b15">更多...</a><br /></td></tr>
<tr class="separator:ab60d2f96b143ec889c48446ab1ad1b15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68ddf40734fc9f230bd57507fea1b6a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#a68ddf40734fc9f230bd57507fea1b6a3">removeActionByName</a> (const std::wstring &amp;name, const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target)</td></tr>
<tr class="memdesc:a68ddf40734fc9f230bd57507fea1b6a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除执行目标的某个动画  <a href="#a68ddf40734fc9f230bd57507fea1b6a3">更多...</a><br /></td></tr>
<tr class="separator:a68ddf40734fc9f230bd57507fea1b6a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e7210c89faffe529e94882a1516acea"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_action.html">Action</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#a3e7210c89faffe529e94882a1516acea">getActionByName</a> (const std::wstring &amp;name, const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target)</td></tr>
<tr class="memdesc:a3e7210c89faffe529e94882a1516acea"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取执行目标中的某个动画  <a href="#a3e7210c89faffe529e94882a1516acea">更多...</a><br /></td></tr>
<tr class="separator:a3e7210c89faffe529e94882a1516acea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5a2f3ef0a094665a35a495cb3b34bb4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#aa5a2f3ef0a094665a35a495cb3b34bb4">update</a> (float dt)</td></tr>
<tr class="memdesc:aa5a2f3ef0a094665a35a495cb3b34bb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新动画  <a href="#aa5a2f3ef0a094665a35a495cb3b34bb4">更多...</a><br /></td></tr>
<tr class="separator:aa5a2f3ef0a094665a35a495cb3b34bb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_non_copyable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_non_copyable')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_non_copyable.html">SkyEngine2d::NonCopyable</a></td></tr>
<tr class="memitem:a570a18a8e326ce10a33915dffdc2b23e inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a570a18a8e326ce10a33915dffdc2b23e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (const <a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:a570a18a8e326ce10a33915dffdc2b23e inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21e0c7e1d6da8e9a27f6b6d8087e46a inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="ac21e0c7e1d6da8e9a27f6b6d8087e46a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:ac21e0c7e1d6da8e9a27f6b6d8087e46a inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fdd4955d223d165a4fbe84f5c4690b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a9fdd4955d223d165a4fbe84f5c4690b5"></a>
<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:a9fdd4955d223d165a4fbe84f5c4690b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1397ae519173378b37ad622d148be3b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a1397ae519173378b37ad622d148be3b5"></a>
<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:a1397ae519173378b37ad622d148be3b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a8a7a32d62dbc8a4dafd839b3d9aa6bfd"><td class="memItemLeft" align="right" valign="top"><a id="a8a7a32d62dbc8a4dafd839b3d9aa6bfd"></a>
std::unordered_map&lt; const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *, std::unique_ptr&lt; ActionElement &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_actionTable</b></td></tr>
<tr class="separator:a8a7a32d62dbc8a4dafd839b3d9aa6bfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9a8879d3f82a778f9f29800468a10ca"><td class="memItemLeft" align="right" valign="top"><a id="ad9a8879d3f82a778f9f29800468a10ca"></a>
std::vector&lt; const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_removedNode</b></td></tr>
<tr class="separator:ad9a8879d3f82a778f9f29800468a10ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d5333febe9fd5965b0b15c93966f3ed"><td class="memItemLeft" align="right" valign="top"><a id="a2d5333febe9fd5965b0b15c93966f3ed"></a>
ActionElement *&#160;</td><td class="memItemRight" valign="bottom"><b>m_currActionElement</b></td></tr>
<tr class="separator:a2d5333febe9fd5965b0b15c93966f3ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17e1f6cbf0e4ab2a629e019de397a2c7"><td class="memItemLeft" align="right" valign="top"><a id="a17e1f6cbf0e4ab2a629e019de397a2c7"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_allRemoved</b></td></tr>
<tr class="separator:a17e1f6cbf0e4ab2a629e019de397a2c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:abbf19e58224348ffc7697a201efcdd77"><td class="memItemLeft" align="right" valign="top"><a id="abbf19e58224348ffc7697a201efcdd77"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_manager.html#abbf19e58224348ffc7697a201efcdd77">ActionManager</a> ()</td></tr>
<tr class="memdesc:abbf19e58224348ffc7697a201efcdd77"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造 <br /></td></tr>
<tr class="separator:abbf19e58224348ffc7697a201efcdd77"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a64295fb3febef7bf3fe34ef528961205"><td class="memItemLeft" align="right" valign="top"><a id="a64295fb3febef7bf3fe34ef528961205"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>GameWorld</b></td></tr>
<tr class="separator:a64295fb3febef7bf3fe34ef528961205"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_sky_engine2d_1_1_singleton"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_sky_engine2d_1_1_singleton')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_singleton.html">SkyEngine2d::Singleton&lt; ActionManager, false &gt;</a></td></tr>
<tr class="memitem:a0cc2c840da44a8cb0784ae398215f921 inherit pub_static_methods_class_sky_engine2d_1_1_singleton"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sky_engine2d_1_1_action_manager.html">ActionManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_singleton.html#a0cc2c840da44a8cb0784ae398215f921">getInstance</a> ()</td></tr>
<tr class="memdesc:a0cc2c840da44a8cb0784ae398215f921 inherit pub_static_methods_class_sky_engine2d_1_1_singleton"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取单例对象的实例  <a href="class_sky_engine2d_1_1_singleton.html#a0cc2c840da44a8cb0784ae398215f921">更多...</a><br /></td></tr>
<tr class="separator:a0cc2c840da44a8cb0784ae398215f921 inherit pub_static_methods_class_sky_engine2d_1_1_singleton"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>动作管理器 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a0c08c2545bbd239fb34979b96d425c14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c08c2545bbd239fb34979b96d425c14">&#9670;&nbsp;</a></span>addAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::ActionManager::addAction </td>
          <td>(</td>
          <td class="paramtype">ActionSharedPtr&#160;</td>
          <td class="paramname"><em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>suspend</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加一个动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ActionSharedPtr</td><td>action 动画的指针 </td></tr>
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;IActableObject&gt; &amp; target 动画的执行目标 </td></tr>
    <tr><td class="paramname">bool</td><td>paused 添加后是否挂起 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool 返回 <em>false</em> 则该目标不支持该动画 </dd></dl>

</div>
</div>
<a id="a3e7210c89faffe529e94882a1516acea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e7210c89faffe529e94882a1516acea">&#9670;&nbsp;</a></span>getActionByName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;<a class="el" href="class_sky_engine2d_1_1_action.html">Action</a>&gt; SkyEngine2d::ActionManager::getActionByName </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>target</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取执行目标中的某个动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring &amp; name 动画名字 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口">IActableObject</a> * target 执行目标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;Action&gt; </dd></dl>

</div>
</div>
<a id="a68ddf40734fc9f230bd57507fea1b6a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68ddf40734fc9f230bd57507fea1b6a3">&#9670;&nbsp;</a></span>removeActionByName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::ActionManager::removeActionByName </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>target</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>移除执行目标的某个动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring &amp; name 动画的名字 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口">IActableObject</a> * target 执行目标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a563d254e931fa37b201573b53fc4cde8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a563d254e931fa37b201573b53fc4cde8">&#9670;&nbsp;</a></span>removeAllActions()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::ActionManager::removeAllActions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>移除所有动画 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="ab60d2f96b143ec889c48446ab1ad1b15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab60d2f96b143ec889c48446ab1ad1b15">&#9670;&nbsp;</a></span>removeAllActionsOfTarget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::ActionManager::removeAllActionsOfTarget </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>移除该执行目标的所有动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口">IActableObject</a> * target 动画执行目标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a1dedac00b9b1e95e56bf1f74e435c1b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1dedac00b9b1e95e56bf1f74e435c1b6">&#9670;&nbsp;</a></span>resumeAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::ActionManager::resumeAction </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>恢复某个动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口">IActableObject</a> * target 动画的执行目标 </td></tr>
    <tr><td class="paramname">const</td><td>std::wstring &amp; name 动画的名字 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a8cca5821d0932c3164ef805a410ebea0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cca5821d0932c3164ef805a410ebea0">&#9670;&nbsp;</a></span>resumeActionOfTarget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::ActionManager::resumeActionOfTarget </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>恢复某个执行目标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口">IActableObject</a> * target 执行目标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a454e98108f6135365df2af9714f9ab3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a454e98108f6135365df2af9714f9ab3a">&#9670;&nbsp;</a></span>suspendAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::ActionManager::suspendAction </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>挂起某个动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口">IActableObject</a> * target 动画的执行目标 </td></tr>
    <tr><td class="paramname">const</td><td>std::wstring &amp; name 动画的名字 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a57c08346ff5b0b993c378d445247cdd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57c08346ff5b0b993c378d445247cdd0">&#9670;&nbsp;</a></span>suspendActionOfTarget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::ActionManager::suspendActionOfTarget </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>挂起某个执行目标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口">IActableObject</a> * target 执行目标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="aa5a2f3ef0a094665a35a495cb3b34bb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5a2f3ef0a094665a35a495cb3b34bb4">&#9670;&nbsp;</a></span>update()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::ActionManager::update </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>dt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>更新动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">float</td><td>dt 时间增量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/action/<a class="el" href="_action_manager_8h_source.html">ActionManager.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
